snapshot: Use a better placeholder
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Oct 2017 02:19:22 +0000 (22:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Oct 2017 02:19:22 +0000 (22:19 -0400)
commit672fb6087992df7a6232609ec4e37b4505a8f365
tree91380887152104fdd86e5d9644e886e8863dc119
parente3f5a8bd472e90025ab60210d497ea1dff6ea30c
snapshot: Use a better placeholder

An empty container has the same effect as transparency
with the cairo renderer, but creates black with Vulkan.
To avoid this, explicitly use a transparent color node.

This fixes the css blendmode example in gtk4-demo with
the Vulkan renderer.
gtk/gtksnapshot.c